<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>python3</Name>
        <Homepage>https://www.python.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <PartOf>programming.language</PartOf>
        <License>custom</License>
        <Summary>Next generation of the python high-level scripting language</Summary>
        <Description>Python is an accessible, high-level, dynamically typed, interpreted programming language, designed with an emphasis on code readability. It includes an extensive standard library, and has a vast ecosystem of third-party libraries.</Description>
        <Archive sha1sum="19acd6a341e4f2d7ff97c10c2eada258e9898624" type="tarxz">https://www.python.org/ftp/python/3.9.16/Python-3.9.16.tar.xz</Archive>
<!--         <Archive sha1sum="bf7badf7e248e0ecf465d33c2f5aeec774209227" type="targz" target="Python-3.8.5">https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz</Archive> -->
        <BuildDependencies>
            <Dependency>bzip2</Dependency>
            <Dependency>xz-devel</Dependency>
            <Dependency>gdbm-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency versionFrom="2.5.0">expat-devel</Dependency>
            <Dependency>libffi-devel</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>ncurses-devel</Dependency>
            <Dependency versionFrom="1.1.1t">openssl-devel</Dependency>
            <Dependency>readline-devel</Dependency>
            <Dependency>mpdecimal-devel</Dependency>
            <!--<Dependency>valgrind</Dependency>-->
            <!--<Dependency>tcl-devel</Dependency>-->
            <!--<Dependency>tcltk-devel</Dependency>-->
        </BuildDependencies>
        <Patches>
            <Patch level="1">gentoo/0001-Install-libpythonX.Y.a-in-usr-lib-instead-of-usr-lib.patch</Patch>
            <Patch level="1">gentoo/0004-setup.py-exit-with-non-zero-status-on-failure.patch</Patch>
            <Patch level="1">gentoo/0005-Improve-distutils-C-support.patch</Patch>
            <Patch level="1">gentoo/0007-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>python3</Name>
        <Summary>Next generation of the python high-level scripting language</Summary>
        <RuntimeDependencies>
            <Dependency>xz</Dependency>
            <Dependency>gdbm</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>bzip2</Dependency>
            <Dependency>expat</Dependency>
            <Dependency>libffi</Dependency>
            <Dependency>sqlite</Dependency>
            <Dependency>ncurses</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>readline</Dependency>
            <Dependency>mpdecimal</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable" permanent="0">/usr/bin/p*</Path>
            <Path fileType="executable" permanent="0">/usr/bin/2to3*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/a*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/c*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/d*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/e*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/h*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/imp*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/j*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib2*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/log*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/m*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/p*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/s*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/te*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/u*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/v*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/w*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/x*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/*.py</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/*.txt</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/_a*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/a*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/b*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/_b*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/c*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/_c*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/_d*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/_e*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/f*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/g*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/_g*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/_h*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/_j*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/_l*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/m*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/_m*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/n*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/o*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/_o*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/_p*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/p*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/r*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/_r*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/_s*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/s*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/te*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/_te*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/ti*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/u*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/x*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/lib-dynload/z*</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/__pycache__</Path>
            <Path fileType="library" permanent="0">/usr/lib/python3.9/zoneinfo/__pycache__/*.pyc</Path>
            <Path fileType="library" permanent="0">/usr/lib/*.so</Path>
            <Path fileType="library" permanent="0">/usr/lib/libpython3.9.so*</Path>
            <Path fileType="man" permanent="0">/usr/share/man/man1/*</Path>
            <Path fileType="doc" permanent="0">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>python3-devel</Name>
        <Summary>Development headers for the python3.</Summary>
        <RuntimeDependencies>
            <Dependency release="current">python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header" permanent="0">/usr/include/python3.9/*</Path>
            <Path fileType="library" permanent="0">/usr/lib/pkgconfig/*</Path>
        </Files>
    </Package>

    <History>
        <Update release="34">
            <Date>2023-03-11</Date>
            <Version>3.9.16</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="33">
            <Date>2023-02-08</Date>
            <Version>3.9.16</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="32">
            <Date>2023-01-28</Date>
            <Version>3.9.16</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="31">
            <Date>2022-12-08</Date>
            <Version>3.9.16</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="30">
            <Date>2022-11-10</Date>
            <Version>3.9.15</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="29">
            <Date>2022-10-20</Date>
            <Version>3.9.15</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="28">
            <Date>2022-09-30</Date>
            <Version>3.9.14</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="27">
            <Date>2022-09-12</Date>
            <Version>3.9.14</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="26">
            <Date>2022-07-18</Date>
            <Version>3.9.13</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="25">
            <Date>2022-07-07</Date>
            <Version>3.9.13</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="24">
            <Date>2022-06-26</Date>
            <Version>3.9.13</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="23">
            <Date>2022-05-24</Date>
            <Version>3.9.13</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="22">
            <Date>2022-05-19</Date>
            <Version>3.9.13</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="21">
            <Date>2022-04-23</Date>
            <Version>3.9.12</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="20">
            <Date>2022-03-23</Date>
            <Version>3.9.11</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="19">
            <Date>2021-11-06</Date>
            <Version>3.9.7</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="18">
            <Date>2021-10-22</Date>
            <Version>3.9.7</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="17">
            <Date>2021-10-18</Date>
            <Version>3.8.12</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="16">
            <Date>2021-08-27</Date>
            <Version>3.8.11</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2021-06-19</Date>
            <Version>3.8.10</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2021-04-11</Date>
            <Version>3.8.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2021-04-11</Date>
            <Version>3.8.8</Version>
            <Comment>Version bump</Comment>
            <Name>İdris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2020-12-09</Date>
            <Version>3.8.6</Version>
            <Comment>Version bump</Comment>
            <Name>İdris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2020-10-19</Date>
            <Version>3.8.5</Version>
            <Comment>Patch version bump</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="10">
            <Date>2020-05-22</Date>
            <Version>3.8.3</Version>
            <Comment>Patch version bump</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="9">
            <Date>2020-03-28</Date>
            <Version>3.8.2</Version>
            <Comment>Patch version bump</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="8">
            <Date>2019-12-23</Date>
            <Version>3.8.1</Version>
            <Comment>Version bump</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2019-12-10</Date>
            <Version>3.8.0</Version>
            <Comment>Version bump</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2018-07-31</Date>
            <Version>3.6.5</Version>
            <Comment>Rebuild.</Comment>
            <Name>mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-05-09</Date>
            <Version>3.6.5</Version>
            <Comment>Version bump</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-01-31</Date>
            <Version>3.6.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>3.4.3</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-08</Date>
            <Version>3.4.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-13</Date>
            <Version>3.4.3</Version>
            <Comment>First release</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
